<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    /* background-color */
    /* background-image */ 
    /* background-repeat 平铺*/
    /* background-attachment */
    /* background-position */

    .container {
      width: 200px;
      height:  400px;
      margin: 20px;
      padding: 10px;
      border: 1px solid #000;
      background-color: aqua;
      background-image: url('../images/meidusha.jpeg');
      background-size: cover;
      /* background-repeat: repeat-x; */
      background-repeat: no-repeat;
      /* background-position: center; */

      /* 背景裁剪 content-box border-box */
      background-clip: border-box;
    }


    .container2 {
      background-color: #000;
    }
    .logo {
      font-weight: 700;
      font-size: 200px;
      font-family: Avenir, Helvetica, Arial, sans-serif;
    }

    .logo-gradient {
      background-image: linear-gradient(115deg, #32cd79, #5fd837, #faf339, #5fd837, #32cd79);
      background-clip: text;
      -webkit-text-fill-color: transparent;
      background-size: 200% 100%;
      background-position-x: 100%;
      animation: pulse 4s ease-in-out infinite;
    }
    @keyframes pulse {
      0% {
        background-position-x: 200%;
      }
      100% {
        background-position-x: 0%;
      }
    }
  </style>
</head>
<body>
  <div class="container"></div>
  <div class="container2">
    <div class="logo logo-gradient">LeaferJS</div>
  </div>

</body>
</html>